package net.skyaims.iptv.web;

import java.util.List;

public class ResponseList<T> {

	private List<T> data;

	private int total;

	public ResponseList(List<T> list) {
		this.data = list;
		this.total = list.size();
	}

	public List<T> getData() {
		return data;
	}

	public void setData(List<T> data) {
		this.data = data;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

}